﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TX.Core;
using TX.Passport.Models;   

namespace TX.Passport.Repositories
{
    /// <summary>
    /// 操作组存储库
    /// </summary>
    public interface IOperationGroupRepository{        
        IQueryable<OperationGroup> GetOperationGroups(QueryOption<OperationGroup> option = null);
        OperationGroup AddOperationGroup(OperationGroup model);
        void RemoveOperationGroup(OperationGroup model);
        void UpdateOperationGroup(OperationGroup model);
    }
}